package com.homedo.odin.solution.model.request.pc.require;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(description = "我的需求")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class UserRequireListRequestBean {

    @ApiModelProperty(value = "当前页码", required = true)
    @NotNull(message = "当前页码参数不能为空")
    @Min(value = 0, message = "当前页码非法参数")
    private Integer pageNum;

    @ApiModelProperty(value = "每页数量", required = true)
    @NotNull(message = "每页数量不能为空")
    @Min(value = 0, message = "每页数量参数错误")
    private Integer pageSize;

    @ApiModelProperty(value = "用户ID", required = true)
    @NotNull(message = "用户 ID 不能为空")
    @Min(value = 0, message = "用户ID有误")
    private Integer userId;

    @ApiModelProperty(value = "需求描述")
    private String description;

    @ApiModelProperty(value = "需求状态 0：未回复 1：已回复")
    private Integer status;

    @ApiModelProperty(value = "提交开始时间")
    private Long startCreateDate;

    @ApiModelProperty(value = "提交结束时间")
    private Long endCreateDate;

}
